<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>修改密码 - 仿站电商平台</title>
    <link rel="stylesheet" href="../css/common.css">
    <style>
        body {
            background-color: #f5f5f5;
            margin: 0;
            padding: 0;
        }
        .header {
            background-color: #87CEEB;
            color: white;
            padding: 15px 0;
            text-align: center;
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 60px;
        }
        .header h1 {
            margin: 0;
            font-size: 24px;
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
        }
        .back-link {
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            padding: 5px 15px;
            border: none;
            border-radius: 4px;
            background-color: white;
            color: #87CEEB;
            cursor: pointer;
            font-size: 14px;
            text-decoration: none;
        }
        .container {
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
        }
        .pwd-form {
            max-width: 500px;
            margin: 30px auto;
            padding: 20px;
            background-color: white;
            border: 1px solid pink;
            border-radius: 8px;
        }
        .form-group {
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .form-group label {
            width: 100px;
            text-align: right;
            margin-right: 15px;
            color: #333;
        }
        .form-group input {
            width: 300px;
            padding: 8px 12px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 14px;
        }
        .btn-submit {
            display: block;
            width: 200px;
            margin: 30px auto;
            padding: 12px;
            background-color: #87CEEB;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
            text-align: center;
        }
        .btn-submit:hover {
            background-color: #78b9d4;
        }
    </style>
</head>
<body>
    <header class="header">
        <h1>修改密码</h1>
        <button onclick="location.href='./index.html'" class="back-link">回到首页</button>
    </header>

    <div class="container">
        <form class="pwd-form" id="pwdForm">
            <div class="form-group">
                <label>原始密码：</label>
                <input type="password" id="oldPassword">
            </div>
            <div class="form-group">
                <label>新密码：</label>
                <input type="password" id="newPassword">
            </div>
            <div class="form-group">
                <label>确认新密码：</label>
                <input type="password" id="rNewPassword">
            </div>
            <button type="submit" class="btn-submit">确认修改</button>
        </form>
    </div>

    <script src="../lib/axios.min.js"></script>
    <script src="../js/config.js"></script>
    <script src="../js/rpwd.js"></script>
</body>
</html> 